const express = require('express')
const app = express()
app.use((req, res, next) => {
  console.log('server common')
  next()
})
app.get('/home', (req, res, next) => {
  console.log('server1')
  next()
},(req, res, next) =>{
  console.log('server1')
  next()
}, (req, res, next) => {
  console.log('server1')
})
app.listen(8009, ()=> {
  console.log('server服务启动成功')
})